/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'common';

/**
 * scheme: "Tomorrow Night"
 * author: "Chris Kempson (http://chriskempson.com)"
 */
body[kui-theme='tomorrow-night'] {
  @include kui-patternfly-alignment-dark;
  @include InvertColorsForTerminal;

  --color-base00: #1d1f21; /* Default Background */
  --color-base01: #282a2e; /* Lighter Background (Used for status bars) */
  --color-base02: #373b41; /* Selection Background */
  --color-base03: #3e4141; /* dialed down opacity #969896 to 30% */ /* Comments, Invisibles, Line Highlighting */
  --color-base04: #b4b7b4; /* Dark Foreground (Used for status bars) */
  --color-base05: #c5c8c6; /* Default Foreground, Caret, Delimiters, Operators */
  --color-base06: #e0e0e0; /* Light Foreground (Not often used) */
  --color-base07: #ffffff; /* Light Background (Not often used) */
  --color-base08: #cc6666; /* RED: Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
  --color-base09: #de935f; /* ORANGE: Integers, Boolean, Constants, XML Attributes, Markup Link Url */
  --color-base0A: #f0c674; /* YELLOW: Classes, Markup Bold, Search Text Background */
  --color-base0B: #b5bd68; /* GREEN: Strings, Inherited Class, Markup Code, Diff Inserted */
  --color-base0C: #8abeb7; /* CYAN: Support, Regular Expressions, Escape Characters, Markup Quotes */
  --color-base0D: #81a2be; /* BLUE: Functions, Methods, Attribute IDs, Headings */
  --color-base0E: #b294bb; /* MAGENTA: Keywords, Storage, Selector, Markup Italic, Diff Changed */
  --color-base0F: #a3685a; /* BROWN: Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */

  --color-background-inverted01: var(--color-base01);
  --color-text-inverted01: var(--color-text-01);

  --color-black: var(--color-base05); /* e.g. husky's "No partially staged files found" */
  --color-name: var(--color-base0D);

  --color-base08-rgb: 204, 102, 102;
  --color-red-rgb: var(--color-base08-rgb);

  --color-base0B-rgb: 181, 189, 104;
  --color-green-rgb: var(--color-base0B-rgb);

  --color-base0D-rgb: 129, 162, 190;
  --color-blue-rgb: var(--color-base0D-rgb);

  --color-base0A-rgb: 240, 198, 116;
  --color-yellow-rgb: var(--color-base0A-rgb);

  --color-error-cell-bg: var(--color-base0E);
  --color-error-cell-text: var(--color-base00);
}
